/*    */ package com.cr.api.model;
/*    */ 
/*    */ public class AddAnswerModel {
/*    */   private Long questionId;
/*    */   
/*    */   private Long parentAnswerId;
/*    */   
/*    */   private Long userId;
/*    */   
/*    */   private String answerContent;
/*    */   
/*    */   public void setQuestionId(Long questionId) {
/*  8 */     this.questionId = questionId;
/*    */   }
/*    */   
/*    */   public void setParentAnswerId(Long parentAnswerId) {
/*  8 */     this.parentAnswerId = parentAnswerId;
/*    */   }
/*    */   
/*    */   public void setUserId(Long userId) {
/*  8 */     this.userId = userId;
/*    */   }
/*    */   
/*    */   public void setAnswerContent(String answerContent) {
/*  8 */     this.answerContent = answerContent;
/*    */   }
/*    */   
/*    */   public boolean equals(Object o) {
/*  8 */     if (o == this)
/*  8 */       return true; 
/*  8 */     if (!(o instanceof AddAnswerModel))
/*  8 */       return false; 
/*  8 */     AddAnswerModel other = (AddAnswerModel)o;
/*  8 */     if (!other.canEqual(this))
/*  8 */       return false; 
/*  8 */     Object this$questionId = getQuestionId(), other$questionId = other.getQuestionId();
/*  8 */     if ((this$questionId == null) ? (other$questionId != null) : !this$questionId.equals(other$questionId))
/*  8 */       return false; 
/*  8 */     Object this$parentAnswerId = getParentAnswerId(), other$parentAnswerId = other.getParentAnswerId();
/*  8 */     if ((this$parentAnswerId == null) ? (other$parentAnswerId != null) : !this$parentAnswerId.equals(other$parentAnswerId))
/*  8 */       return false; 
/*  8 */     Object this$userId = getUserId(), other$userId = other.getUserId();
/*  8 */     if ((this$userId == null) ? (other$userId != null) : !this$userId.equals(other$userId))
/*  8 */       return false; 
/*  8 */     Object this$answerContent = getAnswerContent(), other$answerContent = other.getAnswerContent();
/*  8 */     return !((this$answerContent == null) ? (other$answerContent != null) : !this$answerContent.equals(other$answerContent));
/*    */   }
/*    */   
/*    */   protected boolean canEqual(Object other) {
/*  8 */     return other instanceof AddAnswerModel;
/*    */   }
/*    */   
/*    */   public int hashCode() {
/*  8 */     int PRIME = 59;
/*  8 */     int result = 1;
/*  8 */     Object $questionId = getQuestionId();
/*  8 */     result = result * 59 + (($questionId == null) ? 43 : $questionId.hashCode());
/*  8 */     Object $parentAnswerId = getParentAnswerId();
/*  8 */     result = result * 59 + (($parentAnswerId == null) ? 43 : $parentAnswerId.hashCode());
/*  8 */     Object $userId = getUserId();
/*  8 */     result = result * 59 + (($userId == null) ? 43 : $userId.hashCode());
/*  8 */     Object $answerContent = getAnswerContent();
/*  8 */     return result * 59 + (($answerContent == null) ? 43 : $answerContent.hashCode());
/*    */   }
/*    */   
/*    */   public String toString() {
/*  8 */     return "AddAnswerModel(questionId=" + getQuestionId() + ", parentAnswerId=" + getParentAnswerId() + ", userId=" + getUserId() + ", answerContent=" + getAnswerContent() + ")";
/*    */   }
/*    */   
/*    */   public Long getQuestionId() {
/* 13 */     return this.questionId;
/*    */   }
/*    */   
/*    */   public Long getParentAnswerId() {
/* 16 */     return this.parentAnswerId;
/*    */   }
/*    */   
/*    */   public Long getUserId() {
/* 19 */     return this.userId;
/*    */   }
/*    */   
/*    */   public String getAnswerContent() {
/* 22 */     return this.answerContent;
/*    */   }
           private Integer answerType;
           public Integer getAnswerType() {
               return answerType;
           }
           public void setAnswerType(Integer answerType) {
               this.answerType = answerType;
           } 
        }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-api-4.7.0.jar!\com\cr\api\model\AddAnswerModel.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */